<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .box1 {
            width: 200px;
            height: 200px;
            background-color: #bfa;

            background-image: linear-gradient(to top, red, darkblue);
        }
    </style>
</head>
<body>
<div class="box1">

</div>
</body>
</html>